import request from "@/config/utils/request";

// 查询财务入库单byID
export function getFinStorageById(data) {
  return request({
    url: "/apis/smp/finstorage/getFinStorageById",
    method: "POST",
    data
  });
}

// 保存
export function saveFinStorage(data) {
  return request({
    url: "/apis/smp/finstorage/saveFinStorage",
    method: "POST",
    data
  });
}

// 编辑财务入库
export function editFinStorage(data) {
  return request({
    url: "/apis/smp/finstorage/editFinStorage",
    method: "POST",
    data
  });
}

// 提交财务入库
export function submitFinStorage(data) {
  return request({
    url: "/apis/smp/finstorage/submitFinStorage",
    method: "POST",
    data
  });
}

// 提交财务入库
export function revokeFinStorage(data) {
  return request({
    url: "/apis/smp/finstorage/revokeFinStorage",
    method: "POST",
    data
  });
}

//查询结算单
export function getSettlementById(data) {
  return request({
    url: "/apis/smp/settlement/getSettlementByIdWarehousing",
    method: "post",
    data
  });
}
